//
//  homework.h
//  ChatDemo-UI2.0
//
//  Created by zz on 16/5/24.
//  Copyright © 2016年 zz. All rights reserved.
//


/*
 {
 allnum = 3;
 basepic = 5429;
 classid = 11225;
 classname = "把 v 吧";
 courseid = 4;
 coursename = "体育";
 fileid = "";
 infoclassstate = 1;
 infoid = 4845;
 infologo = "";
 isfinish = 0;
 isread = 1;
 issendmsg = 1;
 jointime = "2016-05-16";
 logo = "/images/T1/2016_03_15_10_54_33_414.jpg";
 logotype = 1;
 mobile = 18911326040;
 msgsendstate = 1;
 readnum = 1;
 scontent = "广告";
 state = 1;
 studentid = 100344;
 title = "";
 type = 3;
 url = "";
 userid = 17774;
 username = "湖人";
 week = "星期一";

 */
/*
 
 allnum = 6;
 basepic = 5429;
 classid = 11225;
 classname = "把 v 吧";
 courseid = 4;
 coursename = "体育";
 fileid = "8817,8818,8819,8820";
 infoclassstate = 1;
 infoid = 5711;
 infologo = "";
 issendmsg = 1;
 jointime = "2016-05-24";
 logo = "/images/T1/2016_03_15_10_54_33_414.jpg";
 logotype = 1;
 mobile = 18911326040;
 msgsendstate = 1;
 readnum = 1;
 scontent = "测试一下";
 state = 1;
 title = "";
 type = 3;
 url = "";
 userid = 17774;
 username = "湖人";
 usersate = 1;
 week = "星期二";

 */
#import <Foundation/Foundation.h>

@interface homework : NSObject<MJKeyValue>

/**
 *  班级名
 */
@property(nonatomic,copy) NSString *classname;
/**
 *  科目
 */
@property(nonatomic,copy) NSString *coursename;
/**
 *  内容
 */
@property(nonatomic,copy) NSString *scontent;
@property(nonatomic,copy) NSString *title;
@property(nonatomic,copy) NSString *logo;
@property(nonatomic,copy) NSString *jointime;
@property(nonatomic,assign) NSInteger logotype;

/**
 *  图片数组
 */
@property(nonatomic,copy) NSString *fileid; //图片
/**
 *  星期几
 */
@property(nonatomic,copy) NSString *week;

/**
 *  是否已读
 */
@property(nonatomic,copy) NSString *isread;

/**
 *  infoid
 */
@property(nonatomic,copy) NSString *infoid;

/**
 *  是否已完成
 */
@property(nonatomic,assign) NSInteger isfinish;

/**
 *  学生id
 */
@property(nonatomic,copy) NSString *studentid;

/**
 *  学生name
 */
@property(nonatomic,copy) NSString *studentname;

/**
 *  classid
 */
@property(nonatomic,copy) NSString *classid;

/**
 *  类型 1 动态 2 通知 3 作业
 */
@property(nonatomic,assign) NSInteger type;

/**
 *  已读人数
 */
@property(nonatomic,assign) NSInteger readnum;
/**
 *  已完成人数 finishnum
 */
@property(nonatomic,assign) NSInteger finishnum;
/**
 *  班级总人数
 */
@property(nonatomic,assign) NSInteger allnum;

/**
 *  名称
 */
@property(nonatomic,copy) NSString *username;

/**
 *  是否是我发布的，如果是的话来源不需要显示名称
 */
@property(nonatomic,assign) NSInteger ismyPub;

/**
 *  存放回复的数组
 */
@property(nonatomic,strong) NSArray *replylist;


@property(nonatomic,assign) CGFloat cellHeight; //cell高度

@property(nonatomic,assign) NSInteger state;

@property(nonatomic,assign)int smssum;



@property(nonatomic,copy)NSString *tousername;

@property(nonatomic,assign) BOOL isEdit;//编辑状态是否选中

@end
